package cn.itrip.service;

import cn.itrip.DTO.ItripListHotelOrderDTO;
import cn.itrip.DTO.ItripPersonalOrderRoomDTO;
import cn.itrip.entity.ItripHotelOrder;
import cn.itrip.entity.ItripUserLinkUser;
import cn.itrip.utils.Page;
import cn.itrip.vo.biz.ItripSearchOrderVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

public interface ItripHotelOrderService extends IService<ItripHotelOrder> {
    ItripHotelOrder getItripHotelOrderByOrderNo(String orderNo);
    Double getOrderPayAmount(int count, Long roomId) throws Exception;
    Map<String, String> itriptxAddItripHotelOrder(ItripHotelOrder itripHotelOrder, List<ItripUserLinkUser> itripOrderLinkUserList) throws Exception;
    ItripHotelOrder getItripHotelOrderById(Long id) throws Exception;
    Page<ItripListHotelOrderDTO> queryOrderPageByMap(ItripSearchOrderVO itripSearchOrderVO) throws Exception;
    ItripPersonalOrderRoomDTO getItripHotelOrderRoomInfoById(Long orderId) throws Exception;
}
